inline fill_star(int offset, int width, PIXEL_TYPE &p)
{
	int pos, w = 0;

	for (int i = 0; i < len; i++)
	{
		if (i + offset >= len)
			pos = i + offset - len;
		else
			pos = i + offset;

		w++;
		if (w % width == 0)
			leds[pos] = p;
		else
			leds[pos] = 0x0;
	}
	return;
}

inline fill_marquee(int offset, int width, PIXEL_TYPE &p)
{
	int pos, w = 0, on = true;

	for (int i = 0; i < len; i++)
	{
		if (i + offset >= len)
			pos = i + offset - len;
		else
			pos = i + offset;

		w++;
		if (w > width)
		{
			w = 0;
			on = !on;
		}

		if (on)
			leds[pos] = p;
		else
			leds[pos] = 0x0;
	}
	return;
}